package pojo;

import javax.persistence.Entity;
import java.util.Date;

public class Party {
    private Integer id;

    private Integer sceneryid;

    private Date partytime;

    private Integer holderid;

    private Integer status;

    private String partyname;

    private String position;

    private Double x;

    private Double y;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSceneryid() {
        return sceneryid;
    }

    public void setSceneryid(Integer sceneryid) {
        this.sceneryid = sceneryid;
    }

    public Date getPartytime() {
        return partytime;
    }

    public void setPartytime(Date partytime) {
        this.partytime = partytime;
    }

    public Integer getHolderid() {
        return holderid;
    }

    public void setHolderid(Integer holderid) {
        this.holderid = holderid;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getPartyname() {
        return partyname;
    }

    public void setPartyname(String partyname) {
        this.partyname = partyname == null ? null : partyname.trim();
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position == null ? null : position.trim();
    }

    public Double getX() {
        return x;
    }

    public void setX(Double x) {
        this.x = x;
    }

    public Double getY() {
        return y;
    }

    public void setY(Double y) {
        this.y = y;
    }
}